/**
 * @author nttdocomo
 */
(function() {
	$LAB.script("/js/sea.js", "/js/jquery.min.js", "/js/underscore.js").wait().script("/js/backbone.js", "/js/aries.js", "/js/class.js").wait(function() {
		seajs.config({
			alias : {
				'jquery' : 'jquery.min',
				'backbone' : 'backbone',
				'underscore' : 'underscore',
				'class' : 'class',
				'aries' : 'aries'
			},
			base : 'http://ui.example.com/js/',
			charset : 'utf-8'
		});
		var $body = $(document.body);
		seajs.use("../js/component.js", function() {
			var component = new aries.Component({
				html : 'Hello world!',
				width : 300,
				height : 200,
				padding : 20,
				style : {
					color : '#FFFFFF',
					backgroundColor : '#000000'
				},
				renderTo : $body
			});
		})
	})
})()